package com.contactportal.domain;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class Users implements java.io.Serializable{
    
    private long userId;
    private String userName;
    private String userPwd;
    private String userAddr;
    private String userPhone;
    private String userEmail;
    private String userRole;
    private String userIp;
    private Date userDob;
    private String userSex;
    private Set<Contacts> userContacts = new HashSet<Contacts>();
    private Set<Cards> userCards = new HashSet<Cards>();
    
    public Users() {
    }

    public Users(String userName, String userPwd, String userAddr, String userPhone, String userEmail, String userRole, String userIp, Date userDob, String userSex) {
        this.userName = userName;
        this.userPwd = userPwd;
        this.userAddr = userAddr;
        this.userPhone = userPhone;
        this.userEmail = userEmail;
        this.userRole = userRole;
        this.userIp = userIp;
        this.userDob = userDob;
        this.userSex = userSex;
    }

    public String getUserAddr() {
        return userAddr;
    }

    public void setUserAddr(String userAddr) {
        this.userAddr = userAddr;
    }

    public Date getUserDob() {
        return userDob;
    }

    public void setUserDob(Date userDob) {
        this.userDob = userDob;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getUserIp() {
        return userIp;
    }

    public void setUserIp(String userIp) {
        this.userIp = userIp;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public String getUserRole() {
        return userRole;
    }

    public void setUserRole(String userRole) {
        this.userRole = userRole;
    }

    public Set<Cards> getUserCards() {
        return userCards;
    }

    public void setUserCards(Set<Cards> userCards) {
        this.userCards = userCards;
    }

    public Set<Contacts> getUserContacts() {
        return userContacts;
    }

    public void setUserContacts(Set<Contacts> userContacts) {
        this.userContacts = userContacts;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }
    
}
